Coder Social home page Coder Social logo

npptor's People

Contributors

halpo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

npptor's Issues

Allow R to call NppToR to reset the directory

Add a command line parameter to allow NppToR to read the current directory. This will pair with an R function that can make the call. Most of the machinery is there in the menu command.

New Release Channels

As requested by email sourceforge is being blocked by web filters for malware. Github releases need to be used as a second distribution channel.

R function sent from np++ to R console does not work

I am trying to use a function that is available at https://stackoverflow.com/questions/2824965/clear-r-console-programmatically to clear R console programmatically. The program is:
cls <- function()
{
system(“powershell (New-Object -ComObject Wscript.Shell).SendKeys([string][char]12)”);
}
I have included the program in the Rprofile.site file. The function runs fine in the R console window. But if I send the function from Notepad++, though np++ sends the function (cls()), it does not get executed. Other functions I have written for data analysis, functions present in the R packages run perfectly OK when sent from np++ via pass line key F8. Will any one figure out the problem.

Only first line of wrapped line is passed to R using F8

On the hope there may be some additional development of this application, I'm opening up a new issue specific to this problem.

When word-wrap is enabled in Notepad++, pressing F8 with the cursor anywhere on that line (whether on the first line of the wrapped line or not) sends only the first line (before the wrap) to R. In older versions of Notepad++, the whole wrapped line was sent as a single line. Furthermore, this causes R to wait for additional input, but placing the cursor on the second "line" of a wrapped line and pressing F8 will cause the first "line" to be sent again, rather than the second line. So it's not possible to send a wrapped line in multiple parts easily either. You must first select the whole wrapped line then press F8 to send it.

While Rstudio has improved over time, I still prefer Notepad++ plus NppToR for my R work. If this bug would be fixed it would make it much easier to work with.

Thanks!

Error in initialization of NppToR

When I start the Windows 10, there is an error in initialization of NppToR as folowing:
Error can't open clipboard for writing.
Line#
---> 531: clipboard =
The current threat will exit.

However when I close and open the NppToR, it works properly.

Quickkeys cannot pass commands with =

I try to edit NppToR quickkey.txt file to get some R commands that I use repeatedly when developing a package:

F12=detach(2, unload=TRUE)
^F12=install(upgrade="never")
+F12=load_all("./", reset=TRUE, export_all = TRUE)

but parsing seems to stop at equal sign. Only the following is pasted to R console when pressing the corresponding quick key:

detach(2, unload
install(upgrade
load_all("./", reset

Note that quickkeys.txt can be edited using NppToR settings (right click on NppToR icon in Windows Tray). By default, i t is located in %AppData%\Notepad++ .

Quick keys would be a very useful feature but many R commands requires specifying argument name (not always possible to use only order). Is there a work around?

problems with passing line selection

I seem to be having the problem mentioned here. If I press F8 to pass single or multiple lines to R, NpptoR+R seem to work as expected. However, if I select a subset of a single line and press F8 the selected text just un-highlights and nothing happens.

Thank you for providing this excellent tool. I use it nearly every day at work :)

Edit: I'm on 64-bit Windows 7 with the latest Notepad++ and NpptoR versions. Please let me know if there are any other helpful bits of information I can provide about the problem or my system. Thanks!

False positives on various virus scanners

Unfortunately, the installer still triggers various virus scanners. For example, on Windows 7, Microsoft Security Essentials detects "Trojan:Win32/Rundas!plock". I take it that these are false positives, but it would be nice to avoid those.

put windows version on https://www.virustotal.com/gui/home/upload

put windows version
after downloading:
NppToR-2.7.0.exe
drag with mouse (click on downloaded NppToR-2.7.0.exe, and drag to the browser window
https://www.virustotal.com/gui/home/upload
and
you see:
SecureAge APEX

Malicious
ClamAV

Win.Trojan.Skillis-283
Jiangmin

Trojan/Generic.bgrhi
SUPERAntiSpyware

Trojan.Agent/Gen-Skillis

Ad-Aware

DANGERS
RED ALERT

Could you please remove this problem in your code
or explain why these alerts are detected on that page:
on https://www.virustotal.com/gui/home/upload

Notepad ++ has very, very good interface, even dark mode.
It would be great to could use it with your very good application (like a gui)
kindly, grateful thoughts

Sincerely,
pytanie3
Andrzejek

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.