holgerbrandl / r4intellij Goto Github PK
View Code? Open in Web Editor NEWAn integration of the R programming language into Intellij IDEA
License: BSD 2-Clause "Simplified" License
An integration of the R programming language into Intellij IDEA
License: BSD 2-Clause "Simplified" License
From [email protected] on February 18, 2012 00:05:13
[What steps will reproduce the problem?]
"
Form 1:
if (TRUE)
{
#...
}
if (T == T) #Syntax checker failure at this line.
{
# ...
}
Form 2:
"
if (TRUE) #Syntax checker failure at this line.
{
# ...
}
[What is the expected output? What do you see instead?]
I expect verification of this correct syntax. Instead a syntax error is reported.
[What version of the product are you using? On what operating system?]
[Please provide any additional information below.]
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=29
From [email protected] on March 01, 2012 07:51:38
What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? Please use labels and text to provide additional information.
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=35
Sorry for the dumb question. I'm a new IntelliJ user and your plugin looks awesome. I've installed it ok and opened a .R file and the syntax colouring seems to work fine. But what do I press to send the current line to the R session running in the Terminal. I can obviously start a Terminal inside IntelliJ and start R in it by typing R at bash prompt, but I don't see an R menu added to the IntelliJ menu or how you get to the screenshot on this project's README.md under "Integration with R session" section.
Armed with the answer I'm happy to submit pull request to README.md.
Thanks in advance.
Hi
I am not able to run the R code since the option is disabled. Any help is appreciated.
similar to how rstudio does it.
From [email protected] on March 01, 2012 09:33:28
Example:
assemblyFile="test.fasta"
assembly <- getSeqLengthFromFasta(assemblyFile)
It works immediately if = is changed to <-
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=37
Just installed r4intellij plugin in PyCharm 4.5.3 (Windows 7). Displays R syntax correctly, but keep getting nullpointerexception:
null
java.lang.NullPointerException
at com.intellij.ide.structureView.TextEditorBasedStructureViewModel.(TextEditorBasedStructureViewModel.java:60)
at com.r4intellij.psi.RScriptStructureViewFactory$RStructureViewModel.(RScriptStructureViewFactory.java:75)
at com.r4intellij.psi.RScriptStructureViewFactory$1.createStructureViewModel(RScriptStructureViewFactory.java:51)
at com.intellij.ide.structureView.TreeBasedStructureViewBuilder.createStructureView(TreeBasedStructureViewBuilder.java:50)
at com.intellij.ide.impl.StructureViewWrapperImpl.rebuild(StructureViewWrapperImpl.java:315)
at com.intellij.ide.impl.StructureViewWrapperImpl$6.run(StructureViewWrapperImpl.java:253)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:320)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:310)
at com.intellij.util.ui.update.MergingUpdateQueue$2.run(MergingUpdateQueue.java:254)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2350)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:266)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:227)
at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:217)
at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:351)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:332)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:702)
at java.awt.EventQueue$3.run(EventQueue.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:569)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
From [email protected] on February 07, 2014 08:54:31
Example:
c("2" = "yellow", "4"="blue")
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=46
From [email protected] on March 01, 2012 09:28:27
What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? Please use labels and text to provide additional information.
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=36
From [email protected] on June 15, 2012 08:36:49
and not change to R. This is how the native R editor does it.
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=40
dcast(mother_cell_id ~ ...)
From [email protected] on January 25, 2012 17:26:41
What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? What version of the product are you using? On what operating system? Please provide any additional information below.
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=23
From [email protected] on February 10, 2012 15:37:03
It should warn if named function arguments are not present in the function defintion
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=28
From [email protected] on February 28, 2012 15:06:15
What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? Please use labels and text to provide additional information.
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=34
From [email protected] on June 15, 2012 08:36:05
and pmax and pmin should be suggested
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=39
blastHitsWithoutDesc[, gi_accession:=as.integer(str_match(SubjectID, "gi|[|]")[,2])]
From danilchenko.andrey on February 22, 2012 06:10:45
IDE error with such exception:
update failed for AnAction with ID=RCodeSnippetActionMenu
java.lang.NullPointerException
at com.r4intellij.actions.RActionGroup.update(RActionGroup.java:38)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:98)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:160)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:124)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:84)
at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:233)
at com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.show(ActionPopupMenuImpl.java:89)
at com.intellij.openapi.fileEditor.impl.text.TextEditorComponent$MyEditorMouseListener.invokePopup(TextEditorComponent.java:307)
at com.intellij.util.EditorPopupHandler.a(EditorPopupHandler.java:27)
at com.intellij.util.EditorPopupHandler.mousePressed(EditorPopupHandler.java:37)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.a(EditorImpl.java:4920)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.mousePressed(EditorImpl.java:4885)
at java.awt.Component.processMouseEvent(Component.java:6370)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6138)
at java.awt.Container.processEvent(Container.java:2085)
at java.awt.Component.dispatchEventImpl(Component.java:4735)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Component.dispatchEvent(Component.java:4565)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4621)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4279)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
at java.awt.Container.dispatchEventImpl(Container.java:2129)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4565)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:679)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:638)
at java.awt.EventQueue$1.run(EventQueue.java:636)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:652)
at java.awt.EventQueue$2.run(EventQueue.java:650)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:649)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:694)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:530)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:416)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:374)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=31
From [email protected] on February 28, 2012 07:17:03
What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? What version of the product are you using? On what operating system? Please provide any additional information below.
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=33
Seeing this in the IntelliJ event log;
update failed for AnAction with ID=RCodeSnippetActionMenu
java.lang.NullPointerException
at com.r4intellij.actions.RActionGroup.update(RActionGroup.java:39)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:114)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:188)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:139)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:86)
at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:280)
at com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.show(ActionPopupMenuImpl.java:96)
at com.intellij.openapi.fileEditor.impl.text.TextEditorComponent$MyEditorMouseListener.invokePopup(TextEditorComponent.java:305)
at com.intellij.util.EditorPopupHandler.a(EditorPopupHandler.java:27)
at com.intellij.util.EditorPopupHandler.mousePressed(EditorPopupHandler.java:37)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.a(EditorImpl.java:5601)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.mousePressed(EditorImpl.java:5557)
at java.awt.Component.processMouseEvent(Component.java:6524)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6292)
at java.awt.Container.processEvent(Container.java:2234)
at java.awt.Component.dispatchEventImpl(Component.java:4883)
at java.awt.Container.dispatchEventImpl(Container.java:2292)
at java.awt.Component.dispatchEvent(Component.java:4705)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4530)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
at java.awt.Container.dispatchEventImpl(Container.java:2278)
at java.awt.Window.dispatchEventImpl(Window.java:2739)
at java.awt.Component.dispatchEvent(Component.java:4705)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:719)
at java.awt.EventQueue$4.run(EventQueue.java:717)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:716)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:565)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
From [email protected] on October 10, 2012 00:58:34
What steps will reproduce the problem? 1. You could try and clone git://github.com/ldash/OpenCytoPreprocessing.git
2. Then open OpenCytoPreprocessing.r file and try to edit it for some time: copy, paste, type...
What is the expected output?
For it to work smoothly
What do you see instead?
The IntelliJ window becomes unresponsive.
What version of the product are you using?
Latest from the IntelliJ repository browser
On what operating system?
(K)Ubuntu 11.10 (oneiric) Please provide any additional information below. Started happening, when I upgraded from Oracle Java 6 to Oracle Java 7...
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=43
From [email protected] on January 26, 2012 13:30:34
What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? What version of the product are you using? On what operating system? Please provide any additional information below.
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=26
From [email protected] on February 24, 2012 12:54:54
rror during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$2@742247d,notifier=null,catchExceptions=false,when=1329921361464] on apple.awt.CToolkit@297450d3
java.lang.NullPointerException
at com.r4intellij.editor.RDocumentationProvider.getQuickNavigateInfo(RDocumentationProvider.java:46)
at com.intellij.lang.documentation.CompositeDocumentationProvider.getQuickNavigateInfo(CompositeDocumentationProvider.java:109)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.generateInfo(CtrlMouseHandler.java:240)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.access$1000(CtrlMouseHandler.java:82)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$InfoSingle.getInfo(CtrlMouseHandler.java:340)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.showHint(CtrlMouseHandler.java:587)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.access$1900(CtrlMouseHandler.java:481)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$2.run(CtrlMouseHandler.java:565)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:677)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:638)
at java.awt.EventQueue$1.run(EventQueue.java:636)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:647)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:686)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:534)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:416)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:374)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=32
From [email protected] on May 07, 2014 10:44:24
http://www.inside-r.org/pretty-r/tool
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=49
use knitr directly or maybe
https://github.com/rstudio/rmarkdown
This causes problems when sending the selection to the console without enough care
Selection growing should not expand to the whole docuement
Intellij IDEA 14.1.3
R4Intellij 0.9.1
Screenshot attached
https://dl.dropboxusercontent.com/u/450959/screenshots/screen150521-124426.png
like %<>% or %T>% and %$%
Is it possible to implement extract variable in r4intellij?
From [email protected] on February 05, 2014 21:00:59
dito
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=45
From [email protected] on February 18, 2012 00:11:42
[What steps will reproduce the problem?]
Conversely, no steps can avoid this problem.
[What is the expected output? What do you see instead?]
I expect an R interpreter to be configurable and run a R script file. This should be very easy to implement if the R executable is in the PATH. Without this, and with the lack of sourcing R code in an R session on my platform, the plugin can hardly be considered for the more advanced features that are there now.
[What version of the product are you using? On what operating system?]
[Please provide any additional information below.]
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=30
e.g
movieImage[,,1]
I am trying to bring some R code from my organization into R4Intellij to evaluate. The programmer has written something like this
something <- function(x) {
optionalInput <- c(
)
}
This causes the error EOL expected, got '' (shown on the top line). If I put the closing paren on the same line as the 'c(' I get the expected behavior. There is other code in the function that may be confusing the issue, in a trivial example the error shows up in an expected place (though R still thinks the code is fine with the line break).
ava.lang.ClassCastException: com.r4intellij.psi.impl.RDocumentImpl cannot be cast to com.r4intellij.psi.RCommand
at com.r4intellij.psi.impl.RElementFactory.createExpressionFromText(RElementFactory.java:46)
at com.r4intellij.psi.impl.RStringImpl.updateText(RStringImpl.java:59)
at com.r4intellij.psi.impl.RStringManipulator.handleContentChange(RStringManipulator.java:34)
at com.r4intellij.psi.impl.RStringManipulator.handleContentChange(RStringManipulator.java:28)
at com.intellij.codeInsight.intention.impl.QuickEditHandler.b(QuickEditHandler.java:427)
at com.intellij.codeInsight.intention.impl.QuickEditHandler.access$1200(QuickEditHandler.java:83)
at com.intellij.codeInsight.intention.impl.QuickEditHandler$6.run(QuickEditHandler.java:382)
at com.intellij.psi.impl.source.PostprocessReformattingAspect$3.compute(PostprocessReformattingAspect.java:112)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.disablePostprocessFormattingInside(PostprocessReformattingAspect.java:121)
at com
OS: Mac OS X
Idea Version: 12.1.7
JRE: 1.6.0_65
Issue: File not displayed in editor. Error Msg while reading a .R file:
11:08:21 PM NoSuchMethodError: Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.intellij.ui.mac.MacFileChooserDialogImpl$2$2@6edd475a,notifier=null,catchExceptions=false,when=1421467700550] on apple.awt.CToolkit@1779e93: com.r4intellij.lang.parser.GrammarParserUtil.current_position_(Lcom/intellij/lang/PsiBuilder;)I
similar to how rstudio is doing it
From [email protected] on December 16, 2011 16:04:21
Currently each term needs to be expanded separately
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=8
From [email protected] on August 04, 2012 17:08:54
null
java.lang.NullPointerException
at com.r4intellij.misc.rinstallcache.LibraryIndexFactory.updateIndex(LibraryIndexFactory.java:80)
at com.r4intellij.misc.rinstallcache.LibraryIndexFactory.getLibraryCache(LibraryIndexFactory.java:63)
at com.r4intellij.misc.rinstallcache.PackageCacheService$1.run(PackageCacheService.java:38)
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=42
From [email protected] on May 02, 2012 20:20:54
What steps will reproduce the problem? Do not add LF after last script line. It is considered an error. What is the expected output? What do you see instead? Script is executed/sourced by R without any problem. Adding extra whitespace in the end is considered a bad practice in many styleguides. So, error should not be reported. What version of the product are you using? On what operating system? Idea 11.0.2 on OSX Please provide any additional information below.
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=38
Works like this for java, but somehow not yet for r4i
From [email protected] on January 16, 2012 10:48:44
when a user types
library(
she should get a list of installed packages as completion proposals.
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=17
The following expression is valid but fails to be parsed by r4intellij
(ggplot(iris, aes(Sepal.Width, Sepal.Length, color=Species)) + geom_point() + scale_x_continuous(expand=c(0,0)) + scale_y_continuous(expand=c(0,0))) %>% md_plot()
From [email protected] on June 15, 2012 10:01:37
Try
ggplot(iris, aes(Sepal.Length, Petal.Length)) + geom_point() + opts(title="test\nsdf")
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=41
the most popular refactoring should be also possible with r4intelij
Hi there,
When I try to evaluate R code it throws a NoClassDefFoundError
. Here's the stacktrace:
com/intellij/openapi/actionSystem/DataKeys
java.lang.NoClassDefFoundError: com/intellij/openapi/actionSystem/DataKeys
at com.r4intellij.actions.RunSelectedTextOrLineAction.actionPerformed(RunSelectedTextOrLineAction.java:25)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:164)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:266)
at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:926)
at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:236)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:105)
at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:512)
at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:44)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:532)
at java.awt.Component.processMouseEvent(Component.java:6525)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6290)
at java.awt.Container.processEvent(Container.java:2234)
at java.awt.Component.dispatchEventImpl(Component.java:4881)
at java.awt.Container.dispatchEventImpl(Container.java:2292)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
at java.awt.Container.dispatchEventImpl(Container.java:2278)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:751)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:702)
at java.awt.EventQueue$3.run(EventQueue.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:724)
at java.awt.EventQueue$4.run(EventQueue.java:722)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:721)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:748)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:573)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:384)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
I'm running it in PyCharm in OpenSUSE. Any clue what's causing this? Thanks a bunch!
From [email protected] on April 23, 2014 10:55:17
What steps will reproduce the problem? 1. Install PyCharm CE (Community Edition) , R and r4intellij
2. Crate a new .R file
3. Right click a command and then R Code Evaluation - Evaluate What is the expected output? What do you see instead? Code should be evaluated in R session What version of the product are you using? On what operating system? r4intellij 0.8.2 - Mac OS Montain Lion Please provide any additional information below. I get the following on the event log:
NoClassDefFoundError: com/intellij/openapi/actionSystem/DataKeys: com/intellij/openapi/actionSystem/DataKeys
Original issue: http://code.google.com/p/r4intellij/issues/detail?id=48
test %>% huhu %>% hallo %>% nana
after extend the follwing text should be selected
test %>% huhu %>% hallo %>% nana
this would be more consistent with executon order.
The parser (which defines extension order) is hard to fix to take this into account, but we could patch similar to
https://github.com/redexp/extended-folding-plugin/blob/master/src/com/redexp/plugin/fold/ExpandSelection.java
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.