Did you try to create a file containing #!/usr/bin/Rscript
library(mypackage) .... you also need to give execute permission like chmod 755 myfile.R -----Original Message----- From: "Karim Mezhoud" [kmezh...@gmail.com] Date: 10/08/2014 12:16 PM To: R-help@r-project.org Subject: [R] Desktop icon to run R and load/run specific package Hi, I'm developing R package with GUI. I would write a file that run R and load package by double clic. I am using Kubuntu. If there is a solution with windows or mac, I am interested too. Thanks Karim [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.