Posts

Showing posts with the label debian

Future solutions

Image
Clash Royale CLAN TAG #URR8PPP Future solutions I am working with a large data set, which I use to make certain calculations. Since it is a huge data set, my machine, I am working on, is doing the job excessively long, for this reason I decided to use the future package in order to distribute the work between several machines and speed up the calculations. So, my problem is that through the future (using putty & ssh) I can connect to those machines (in parallel), but the work itself is doing the main one, without any distribution. Maybe you can advice some solution: My code: library(future) workers <- c("000.000.0.000", "111.111.1.111") plan(remote, envir = parent.frame(), workers= workers, myip = "222.222.2.22") start <- proc.time() cl <- makeClusterPSOCK( c("000.000.0.000", "111.111.1.111"), user = "...", rshcmd = c("plink", "-ssh", "-pw", "..."), rshopts = c("-i...

bash: npm: command not found in Debian 9.3

Image
Clash Royale CLAN TAG #URR8PPP bash: npm: command not found in Debian 9.3 I am using Debian 9.3. (stretch) I cannot run "npm" commands. Output for node -v node -v bash: node: command not found Output for nodejs -v nodejs -v v4.8.2 Output for npm -v npm -v bash: npm: command not found I'm a newbie on Debian and I can't understand what's happening. - I already reinstall Node.js - I already tried following the steps of the Official Page. - I already ran apt-get install npm Output E: Unable to locate package npm . - I was at Debian Testing and have the same error when I was there. apt-get install npm E: Unable to locate package npm Thanks for read and help - Melt Visit this link: stackoverflow.com/questions/18130164/… Hope that helps you – harish durga Feb 23 at 7:57 Possible duplicate of nodej...