Ggmap not working in Execute R module
Hi, I am trying to use ggmap package with the following command:
library(ggmap);
library(mapproj);
map=get_map(location = c(lon=77.302,lat=28.57), zoom = 15);
mapPoints <- ggmap(map) + geom_point(aes(x = long, y = lati,col=vehicle_s), data = cleandata, alpha = .5);
plot(mapPoints)
This should plot my data in the google map
But after running the module, I am getting error that the there is no ggmap package... install.package function is also not working as then the module continue to run indefinitely.
pls advice...
Hello,
Unfortunately at this time network access is blocked off from the Execute R/Python script modules. We are investigating removing this restriction.
Both ggmap and the default install.packages() rely on network usage, though there are instructions both here and in the documentation on how to install custom packages. There is unlikely to be a similar workaround for ggmap.
Regards,
AK
Similar Messages
-
Links not working in executable jar
I have a problem with my java application
html and images files do not work in executable jar
though the application works normally
I tried some suggestion but I received an exception thread indicating problem at
ImageIcon iChing = new ImageIcon(imageURL);
Please could you help me thank you so much
here is the class
public class Main extends JFrame
* objects required for the GUI: JFrame,JLabel, JButton, ImageIcon, JPanel,
* Dimension
private static final long serialVersionUID = 1L;
JButton jbEnter;
ImageIcon iChing, logo;
JPanel buttonPanel, ImagePanel;
JLabel jlbIching;
Dimension dim;
URL imageURL;
File fileName;
// Class constructor to create the GUI
public Main()
Container container = getContentPane();
URL imageURL = this.getClass().getClassLoader().getResource("src/myFiles/iching.gif");
ImageIcon iChing = new ImageIcon(imageURL);
jlbIching = new JLabel(iChing);
// button to go to the Title class
jbEnter = new JButton("Enter ");
jbEnter.setBorderPainted(false);
jbEnter.setFont(new Font("Edwardian Script ITC", Font.BOLD, 42));
jbEnter.setBackground(new Color(0, 0, 50));
jbEnter.setForeground(Color.YELLOW);
jbEnter.addActionListener(new ActionListener() {
// method to render the current frame invisible and trigger the
// Welcome Menu
public void actionPerformed(ActionEvent e)
setVisible(false);
// this line does not work...............
new Title();
} // close the actionPerformed(ActionEvent e) Method
}); // close the addActionListener(new ActionListener() method
// Panel holding the decorative image and Button
ImagePanel = new JPanel();
ImagePanel.add(jlbIching);
ImagePanel.setBackground(new Color(0, 0, 50));
buttonPanel = new JPanel();
buttonPanel.add(jbEnter);
buttonPanel.setBackground(new Color(0, 0, 50));
// setting up of the panels position
container.add(ImagePanel, BorderLayout.CENTER);
container.add(buttonPanel, BorderLayout.SOUTH);
dim = Toolkit.getDefaultToolkit().getScreenSize();
dim.width = dim.width / 2 - 300;
dim.height = dim.height / 2 - 250;
setBounds(dim.width, dim.height, 400, 400);
setSize(600, 500);
setResizable(false);
setVisible(true);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
//To set the icon for the application. Top left hand corner.
//this.setIconImage(Image);
setIconImage(new ImageIcon("src/myFiles/ichingRose.gif").getImage());
} // close the Constructor
* the main method for the program.
* @param args
* The command-line arguments.
public static void main(String[] args)
new Main();
} // close the main method
} // close the Main classThank you very much for your quick reply and really hope you can help me a little more
it's so frustrating
I do not really know about the relative path but here is my xml file
<?xml version="1.0" encoding="UTF-8" ?>
<project default="jar">
<!-- Compile and zip the source code into a jar -->
<target name="jar">
<!-- Make the folders we'll need -->
<mkdir dir="ant"/>
<mkdir dir="work"/>
<mkdir dir="ant/myFiles"/
<!--
Compile all the .java files into .class files
debug = yes Include debug information in the .class files
destdir Where to put the .class files
source and target Use Java version 1.6.0_06
-->
<javac
debug="yes"
destdir="ant"
source="1.6"
target="1.6">
<!-- Folders that have trees of .java files to compile -->
<src path="src"/>
</javac>
<copy todir="ant/myFiles"><fileset dir="src/myFiles"></fileset></copy>
<!--
Zip files together to make a jar
jarfile Where to make the .jar file, overwrite something there
basedir Find the files to zip in the jar here
-->
<jar
jarfile="work/BookOfChanges.jar"
basedir="ant"
>
<!-- Write a manifest inside the jar -->
<manifest>
<!-- The class Java will run when the user double-clicks the jar -->
<attribute name="Main-Class" value="iChing.Main"/>
</manifest>
</jar>
</target>
</project> -
My excel report is not working in executable file ,however,it works well in vi
Hi all ,
Could any one please help me in getting the reason behind the executable file not working for excel report generation,however I can get the same function without any problem in main vi.
I am attaching my code and executable file also ,please have a look into it and let me know where I am wrong.
Thanks & Regards !
sarita
Message Edited by MindPower on 10-24-2007 01:40 AM
Message Edited by MindPower on 10-24-2007 01:43 AM
Attachments:
test datalog.vi 264 KB
test datalog-NEW.zip 1020 KBI can't open the vi in the moment. But by your description I think that I know the solution.
When you build the executable you've to add dinammically the vi's from report generator that aren't in your main vi hierarchy. So, you've to open the vi's and find those that are open trough "open vi reference" and add them dinamicaly.
And don't know if these tips are enough.
From NI Zvezdana S.
"When you use the Report Generation Toolkit to build a stand-alone application with the Application Builder, you must add _Word Dynamic VIs.vi from _wordsub.llb and _Excel Dynamic VIs.vi from _exclsub.llb as dynamic VIs. These two VIs contain subVIs that are called dynamically by the high-level Report Generation VIs. I believe that if you grab these VIs from the (desired office version part of the) installation CD instead of from the development machine, then everything should work. "
Software developer
www.mcm-electronics.com
PS: Don't forget to rate a good anwser ; )
Currently using Labview 2011
PORTUGAL -
Report runs fine in Analyzer but not working when executed fromQuerydesig
Hi,
I have a issue with the Bw report which is not showing any data for Keyfigureswhen i execute the report related to APO from Bex query designer in Web.
But the same report executes fine in the Bex Analyzer.
If any one has faced this issue earlier,update us reg that.
We are doubting any prob related to catch memory as the java link for the report is not working.Report works fine in RSRT.
VamsiHi there,
Can you please let us know what cache settings you changed, as we are having the same issue.
Many thanks -
Report runs fine in Analyzer but not working when executed fromQuerydesiger
Hi,
I have a issue with the Bw report which is not showing any data for Keyfigureswhen i execute the report related to APO from Bex query designer in Web.
But the same report executes fine in the Bex Analyzer.
If any one has faced this issue earlier,update us reg that.
We are doubting any prob related to catch memory as the java link for the report is not working.Report works fine in RSRT.
VamsiHi there,
Can you please let us know what cache settings you changed, as we are having the same issue.
Many thanks -
Unix script not working when executed from SAP PI communication channel
Hi Experts,
I am currently using the Run OS command after message processing functionality of the file adapter.
However, the unix script doesn't seem to work when run via communication channel.
The script runs properly when executed manually.
The communication channel logs don't show any error as well.
Do you have any ideas as to where the error might be.
Thanks,
MikeHi All,
Thank you for your replies. I appreciate this.
@Anand, here is the script:
#!/usr/bin/sh
#version 1
hostname=$(uname -a | cut -f 2 -d " ")
MAILTO="[email protected] "
homedir=$PWD
echo $homedir | mailx -m -s "OB10 $hostname" $MAILTO
/opt/java6/bin/jar -xvf OB10.zip
ll | mailx -m -s "OB10 $hostname" $MAILTO
What's puzzling me is that I am able to receive the email alerts.
This means that the user has sufficient authorization to execute the script.
But the unzip command is not working.
I have seen the unzip work when run manually.
Thanks,
Mike -
Callbacks does not work in custom login module
Hi,
We are upgrading portal from 7.01 to 7.31. I am working on custom login module.
I am using NameCallBack, PasswordCallback and httpcallback (prior to upgrade used webCallback which is deprecated in 7.31)
All these three callbacks works fine in our sandbox which uses Portal Database as UME, But same code fails and returns NULL for callbacks in Dev system where we use Active Directory.
//In initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map options)
super.initialize(subject, callbackHandler, sharedState, options);
this.callbackHandler = callbackHandler;
// in logion()
NameCallback nameCallback = new NameCallback("User name: ");
PasswordCallback passwordCallback = new PasswordCallback("Password: ", true);
try
callbackHandler.handle(new Callback[] { nameCallback, passwordCallback });
Any ideas will be appreciated.
Thanks,
DileepShould be fixed in 4.5. Set mouseEnabled=true on the Panel
-
Shared variable does not work in executable
In editor mode, the shared variables update fine. When I build the executable, the shared variables no longer work.
See attachment.
Attachments:
TestCitadel.vi 30 KBI found this note in the LV2010 help, I wonder if this could be related to your problem...
Note You can use scaling only for network-published
shared variables, I/O variables, or I/O aliases. When the shared
variable you want to scale is a network-published shared variable, it
must have a data source. Configure a network-published shared variable
to have a data source by placing a checkmark in the Enable Aliasing checkbox on the Variable page of the Shared Variable Properties dialog box. -
SCOM reports not working, with execute permission denied error.
Operations manager 2012 R2,
some reports stopped working. Then i open report and click "add object" or "add group" i get error:
Note: The following information was gathered when the operation was attempted. The
information may appear cryptic but provides context for the error. The application will continue to run.
The EXECUTE permission was denied on the object 'ManagedEntityTypeGetBySystemName', database
'OperationsManagerDW', schema 'dbo'.
In SQL there is EXECUTE permission on object 'ManagedEntityTypeGetBySystemName'
Reports which not required to specify object or groups are working as expected.
what esle can be wrong ?Hi,
Please refer to the blog below. It tell us how to grant permission to objects.
http://www.ndoubleor.com/the-execute-permission-was-denied-on-the-object-database-schema-dbo/11/2009/
Important Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
Juke Chou
TechNet Community Support -
All reports not working, with execute permission denied error.
Operations manager 2012 R2,
all reports stopped working. Then i open report and click "add object" or "add group" i get error:
Note: The following information was gathered when the operation was attempted. The information may appear cryptic but provides context for the error. The application will continue to run.
The EXECUTE permission was denied on the object 'ManagedEntityTypeGetBySystemName', database 'OperationsManagerDW', schema 'dbo'.
In SQL there is EXECUTE permission on object 'ManagedEntityTypeGetBySystemName'
what esle can be wrong ?Take a look at
this.
Jonathan Almquist | SCOMskills, LLC (http://scomskills.com) -
Print function not working in executable
I have created an application to generate a QR code. I am converting the QR code into the Bitmap file type and then i am appending the generated image to the report. After the report generation I am printing down the report. The report is generated as a Standard Report type. Everything works fine during the development time means in the .vi file. But when I create and executable application the print function is not functioning at all. Please guide me with this as soon as possible. Thanks in advance.
I used to use this to print a report:
...but it doesn't work on my Windows 7 computers. So, now I use this:
...and I'm happy again. You may be, too, if you're using Windows 7. I found this post helpful when I experienced this problem.
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice -
Mac OS X: "Books" not working? (Change to module not possible)
Mac OS X Lion, all updates installed
I installed the Beta beside Lightroom 3. When clicking on the module name "Books" I get the message that the change to this module is not possible. After that the software is completely inoperable, no change to any module works.
The problem is reproduceable.There is another open thread about this same issue (http://forums.adobe.com/thread/947155)
No answer there either. -
Quit labview does not work in executable
I recently upgraded my labview and application builder from version 7.1 to 8.2 and then 8.2.1.
An executable that I created contains the quit labview function.
With version 7.1, a true input to that function would close down the executable completely, including the run-time engine, which is what I wanted.
However, when I build a similar executable in version 8.2.1, this same call to the function causes the executable to stop running, but the front-panel is still there waiting to start-up again. The run button appears, even though I specify it not to appear under the Window Appearance in VI properties.
The other thing that happens is that during panel close, the program hangs for several seconds, then the Task Manager says that the program is not responding, and then it closes completely a few seconds later. I would prefer it to stop right away.
From reading knowledgebase articles, this seems to suggest that there are some unclosed references, but I can't really find any.
Anyway, it's pretty much the same code as 7.1, and I did not see this same problem there.Could you at your shutdown code.
I haven't seen this!
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
Classpath is not working for executable jar file
I have created executable jar file using following command where manifest file contains Main-Class and Class-Path entries.
jar cvfm app.jar META-INF/* lib/* *.class
So here app.jar contains my external jar's in lib directory
but when I move app.jar to another directory, it's doesn't get my external files.
I'm not getting this problem as these jar's are in app.jar
class-path entry in manifest file:
Class-Path: lib/abc.jar lib/xyz.jar
Pls help me where it is getting fail?
Thanks in advance,
VikasJava doesn't handle jars within jars. Your library jars need to be outside of the executable jar as in
dist - main.jar
- lib - lib1.jar
- lib2.jar -
Gnome not working -- cannot execute "usr/kde/bin/kdm"
gnome-session does not invoke anything except the error message:
INIT: cannot execute "usr/kde/bin/kdm"
INIT: Id "x" respawning too fast: disabled for 5 minutes.
My xorg.conf is generated by hwd -x. After rebooting, I can log in, but the resolution is stuck in 680x***.
If I try to open gnome by gnome-session, it give the error message:
(gnome-session:10890): Gtk-WARNING **: cannot open display?
Any way to solve it?
Any help is greatly appreciated.Please do not cross-post:
http://bbs.archlinux.org/viewtopic.php?pid=229780
Maybe you are looking for
-
Set Length in Inches in item master data in purchasing tab
Dear Experts, I want to set the length,width and height in Inches in the item master data of purchasing data tab. By default it is coming in meter. Please help me Regards, Ravindra
-
How do I export an iMovie project on to my iPhone 5 so I can upload to YouTube ?
I've been having issues on trying to easily export my iMovie project ,it's my first time using iMovie and I'm having trouble and I need help!
-
Multiple T and F records in 1099 Misc.
We have a scenario where for various company codes there is one 1099 electronic file (magnetic media) to be generated. These company codes have a different TIN hence "Multiple company code" flag can not be used in the country specific section. We hav
-
ADF BC: Optimal Application Module Runtime Configuration
Have implemented an intranet application for 1000 users using the following technologies implemented on Oracle JDeveloper 10.1.3.0.4: ADF BC for my Services layer JSF for my Controller layer JSF and ADF for my View layer ADF Model for my Data layer T
-
My Photoshop Elements 11 came with my Toshiba Qosmio. The Photoshop is freezing recently. How to reinstall? Where's the serial number?